package com.zpp.wedding_admin.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.zpp.wedding_admin.entity.Follow;
import com.zpp.wedding_admin.mapper.FollowMapper;
import com.zpp.wedding_admin.service.IFollowService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class FollowServiceImpl extends ServiceImpl<FollowMapper, Follow> implements IFollowService {

    @Autowired
    private FollowMapper followMapper;

    @Override
    public List<Follow> getFollow(String id) {
        return followMapper.getFollow(id);
    }

    @Override
    public List<Follow> getFan(String id) {
        return followMapper.getFan(id);
    }
}
